﻿@model IEnumerable<Chbl.Models.Player>

@{
    ViewBag.Title = "Состав команды";
}
<div class="pad">
    <div class="box2">
        <div class="pad">
            <table>
                <tr>
                    <th>ФИО</th>
                    <th>Дата рождения</th>
                    <th>Рост</th>
                </tr>
            @foreach (var item in Model)
            {
                <tr>
                    <td>
                        @Html.DisplayFor(modelItem => item.Member.Fio)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.Member.BirthDate)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.Height)
                    </td>
                </tr>
            }
            </table>
        </div>
    </div>
</div>
